<div class="cont_tit">
	<div class="cont_tit_1">
		<span class="sortH">» <?php echo $pageTitle; ?></span>
		<div class="clear"><?php echo (isset($pageLink)?$pageLink:'');?></div>
	</div>
</div>
<table class="zz" cellpadding="3" cellspacing="1" border="0" width="100%">
	<tr class="lb_tit" align="center">
		<td>ID</td>
		<td>用户名</td>
		<td>用户组</td>
		<td>手机号</td>
		<td>邮箱</td>
		<td>最后登录IP</td>
		<td>最后登录时间</td>
		<td>管理</td>
	</tr>
	<?php
	if(is_array($userList))
	{
		foreach($userList as $row)
		{
	?>
	<tr align="center">
		<td><?php echo $row['fid'];?></td>
		<td><?php echo $row['fusername'];?></td>
		<td><?php echo $row['fsubject'];?></td>
		<td><?php echo $row['fmobile'];?></td>
		<td><?php echo $row['femail'];?></td>
		<td><?php echo $row['flastip'];?></td>
		<td><?php echo date('Y-m-d H:i:s', $row['flasttime'])?></td>
		<td>
		<?php 
			if($canedit)
			{
			    echo "<a href=\"".getUrl('user/useredit','id='.$row['fid'])."\">修改</a>&nbsp;";
			}
			if($candel)
			{
			    echo "<a href=\"".getUrl('user/userdel','id='.$row['fid'])."\" onclick=\"return QY.util.del_confirm();\">删除</a>&nbsp;";
			}
        ?>
			<a href="<?php echo getUrl('user/changepassword','id='.$row['fid'])?>">重置密码</a>
		</td>
	</tr>
	<?php
		}
	}
	?>
</table>
